import caseListLocale from '../../../config/locale/zh-CN/netCase/caseList.js'
const { allCase, pendingSubmit, approving, supplyCaseInfo, registered,
  denyRegister, pretrialPreparation, judging, closeCase } = caseListLocale
//案件状态分类
const caseStatusData = {
  allCase: 0,
  pendingSubmit: 1,
  approving: 2,
  supplyCaseInfo: 3,
  registered: 4,
  denyRegister: 5,
  pretrialPreparation: 6,
  judging: 7,
  closeCase: 8,
}
//基本data
const basicData = {
  caseStatus: 0, //默认案件状态
  caseList: [], //案件列表结果
  caseStatusData, //案件状态
  //默认显示导航选中
  defaultShowClass: [true, false, false, false, false, false, false, false, false],
  //分页参数
  pagination: {
    currentPage: 1,
    pageSizes: [5, 10],
    currentPageSize: 10,
    total: 0
  },
  //导航基本data
  navData: [{
    code: 0,
    type: 'allCase',
    info: allCase,
    checked: true,
    //imgUrl: require('../../assets/images/netcase/message.png')
  }, {
    code: 1,
    type: 'pendingSubmit',
    info: pendingSubmit,
    checked: false,
    //imgUrl: require('../../assets/images/netcase/message.png')
  }, {
    code: 2,
    type: 'approving',
    info: approving,
    checked: false,
    //imgUrl: require('../../assets/images/netcase/message.png')
  }, {
    code: 3,
    type: 'supplyCaseInfo',
    info: supplyCaseInfo,
    checked: false,
    //imgUrl: require('../../assets/images/netcase/message.png')
  }, {
    code: 4,
    type: 'registered',
    info: registered,
    checked: false,
    //imgUrl: require('../../assets/images/netcase/message.png')
  }, {
    code: 5,
    type: 'denyRegister',
    info: denyRegister,
    checked: false,
    //imgUrl: require('../../assets/images/netcase/message.png')
  }, {
    code: 6,
    type: 'pretrialPreparation',
    info: pretrialPreparation,
    checked: false,
    //imgUrl: require('../../assets/images/netcase/message.png')
  }, {
    code: 7,
    type: 'judging',
    info: judging,
    checked: false,
    //imgUrl: require('../../assets/images/netcase/message.png')
  }, {
    code: 8,
    type: 'closeCase',
    info: closeCase,
    checked: false,
    //imgUrl: require('../../assets/images/netcase/message.png')
  }],
  //案件状态样式
  caseStatusStyle: [{

  }, {
    borderColor: '#E97776',
    color: '#E87776'
  }, {
    borderColor: '#EABD83',
    color: '#DCB682'
  }, {
    borderColor: '#FD77FF',
    color: '#FA3CFD'
  }, {
    borderColor: '#4ABE04',
    color: '#47BC00'
  }, {
    borderColor: '#74B6E6',
    color: '#75B7E8'
  }, {
    borderColor: '#B580FC',
    color: '#B580FC'
  }, {
    borderColor: '#03F6FF',
    color: '#07D9AA'
  }, {
    borderColor: '#F81C1C',
    color: '#D90707'
  }],
  
}

export { basicData }
